import Request from './request'

// 接口返回类型
export interface IRes<T = any> {
	data: T
	code: number
	msg: string
}
// www.coderwyf.com 接口实例
export const http = new Request({
	baseURL: import.meta.env.VITE_BASE_URL,
	timeout: 1000 * 10
})

export const dasHttp = new Request({
	baseURL: import.meta.env.VITE_BASE_URL + '/das-archive-biz/v1',
	timeout: 1000 * 60
})
